package com.xbf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xbf.entity.Order;

import java.util.List;

public interface OrderService extends IService<Order> {
    boolean createOrder(Order order);
    List<Order> getOrdersByUserId(Integer userId);
}